$OpenBSD: patch-src_absimg_c,v 1.1 2011/07/08 20:38:01 naddy Exp $

Fix build with png-1.5.

--- src/absimg.c.orig	Wed Jul  6 14:57:39 2011
+++ src/absimg.c	Wed Jul  6 14:58:00 2011
@@ -96,7 +96,7 @@ char *name;
 	
 	pngi = png_create_info_struct(pngw);
 	
-	if (setjmp(pngw->jmpbuf))
+	if (setjmp(png_jmpbuf(pngw)))
 	{
 		png_destroy_write_struct(&pngw, &pngi);
 		fclose(f);
